package com.cskaoyan.mall.model.enmu;

/**
 * 订单状态
 */
public enum OrderState {

    /**
     * 订单状态未付款
     */
    UN_PAID(0, "未付款"),

    UN_SHIPED(1, "未发货"),

    SHIPED(2, "已发货"),

    RECEIVED(3, "已完成");

    private Integer id;

    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    OrderState(int id, String name) {
        this.id = id;
        this.name = name;
    }
}
